<?php
return array(
    'dev' => array(
        'APP_STATIC_IMG_URL_HEAD' => 'http://static.for-fun.cn',
        'DATABASE_MYSQL' => array(
            'DB_PREFIX' => '', //表前缀
            'Def_Select'	=> array(	//查询库，一般是从库或只读库
                'dbhost'	=> '127.0.0.1',
                'dbport'	=> 3306,
                'dbuser'	=> 'forfun',
                'dbpass'	=> 'ww2G#@Ad2wm8Lk',
                'dbname'	=> 'for_fun',
                'charset'	=> 'UTF8',
                'dbtype'	=> 1,
                'linktype'	=> 1,
                'fetchtype'	=> 1
            ),
            'Def_Update'	=> array(	//有数据修改权限的库，一般指主库
                'dbhost'	=> '127.0.0.1',
                'dbport'	=> 3306,
                'dbuser'	=> 'forfun',
                'dbpass'	=> 'ww2G#@Ad2wm8Lk',
                'dbname'	=> 'for_fun',
                'charset'	=> 'UTF8',
                'dbtype'	=> 1,
                'linktype'	=> 1,
                'fetchtype'	=> 1
            )
        ),
        'REDIS'     => array(
            'API_TOKEN' => array(
                'host' => '127.0.0.1',
                'port' => 6379,
                'auth' => '123456',
                'timeout' => 5
            )
        )
    ),
    'pro' => array(
        'APP_STATIC_IMG_URL_HEAD' => 'http://static.gjxjl.com',
        'DATABASE_MYSQL' => array(
            'DB_PREFIX' => '', //表前缀
            'Def_Select'	=> array(	//查询库，一般是从库或只读库
                'dbhost'	=> '127.0.0.1',
                'dbport'	=> 3306,
                'dbuser'	=> 'forfun',
                'dbpass'	=> 'ww2G#@Ad2wm8Lk',
                'dbname'	=> 'for_fun',
                'charset'	=> 'UTF8',
                'dbtype'	=> 1,
                'linktype'	=> 1,
                'fetchtype'	=> 1
            ),
            'Def_Update'	=> array(	//有数据修改权限的库，一般指主库
                'dbhost'	=> '127.0.0.1',
                'dbport'	=> 3306,
                'dbuser'	=> 'forfun',
                'dbpass'	=> 'ww2G#@Ad2wm8Lk',
                'dbname'	=> 'for_fun',
                'charset'	=> 'UTF8',
                'dbtype'	=> 1,
                'linktype'	=> 1,
                'fetchtype'	=> 1
            )
        ),
        'REDIS'     => array(
            'API_TOKEN' => array(
                'host' => '127.0.0.1',
                'port' => 6379,
                'timeout' => 5
            )
        )
    )
);